#include <iostream>
using namespace std;
#include <string.h>
int up_letter(char ch);
int main(){
     char str[80];
     int i;
     cout<<"please input a String"<<endl;
     cin >> str;
     for (int i = 0;  i< strlen(str); i++) {
         if(up_letter(str[i])){
             str[i]-=32;
         }
     }
     cout<<"the result is:"<<str<<endl;
 }
 int up_letter(char ch){
    if(ch >= 'a' && ch<= 'z'){
        return 1;
    }else{
        return 0;
    }
}

